/* required styles */

.winfo-pane,
.winfo-tile,
.winfo-marker-icon,
.winfo-marker-shadow,
.winfo-tile-container,
.winfo-pane > svg,
.winfo-pane > canvas,
.winfo-zoom-box,
.winfo-image-layer,
.winfo-layer {
    position: absolute;
    left: 0;
    top: 0;
}

.winfo-container {
    overflow: hidden;
}

.winfo-tile,
.winfo-marker-icon,
.winfo-marker-shadow {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Prevents IE11 from highlighting tiles in blue */
.winfo-tile::selection {
    background: transparent;
}

/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.winfo-safari .winfo-tile {
    image-rendering: -webkit-optimize-contrast;
}

/* hack that prevents hw layers "stretching" when loading new tiles */
.winfo-safari .winfo-tile-container {
    width: 1600px;
    height: 1600px;
    -webkit-transform-origin: 0 0;
}

.winfo-marker-icon,
.winfo-marker-shadow {
    display: block;
}

/* .winfo-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .winfo-container img: map is broken in FF if you have max-width: 100% on tiles */
.winfo-container .winfo-overlay-pane svg,
.winfo-container .winfo-marker-pane img,
.winfo-container .winfo-shadow-pane img,
.winfo-container .winfo-tile-pane img,
.winfo-container img.winfo-image-layer,
.winfo-container .winfo-tile {
    max-width: none !important;
    max-height: none !important;
}

.winfo-container.winfo-touch-zoom {
    -ms-touch-action: pan-x pan-y;
    touch-action: pan-x pan-y;
}

.winfo-container.winfo-touch-drag {
    -ms-touch-action: pinch-zoom;
    /* Fallback for FF which doesn't support pinch-zoom */
    touch-action: none;
    touch-action: pinch-zoom;
}

.winfo-container.winfo-touch-drag.winfo-touch-zoom {
    -ms-touch-action: none;
    touch-action: none;
}

.winfo-container {
    -webkit-tap-highlight-color: transparent;
}

.winfo-container a {
    -webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}

.winfo-tile {
    filter: inherit;
    visibility: hidden;
}

.winfo-tile-loaded {
    visibility: inherit;
}

.winfo-zoom-box {
    width: 0;
    height: 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 800;
}

/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.winfo-overlay-pane svg {
    -moz-user-select: none;
}

.winfo-pane {
    z-index: 400;
}

.winfo-tile-pane {
    z-index: 200;
}

.winfo-overlay-pane {
    z-index: 400;
}

.winfo-shadow-pane {
    z-index: 500;
}

.winfo-marker-pane {
    z-index: 600;
}

.winfo-tooltip-pane {
    z-index: 650;
}

.winfo-popup-pane {
    z-index: 700;
}

.winfo-map-pane canvas {
    z-index: 100;
}

.winfo-map-pane svg {
    z-index: 200;
}

.winfo-vml-shape {
    width: 1px;
    height: 1px;
}

.lvml {
    behavior: url(#default#VML);
    display: inline-block;
    position: absolute;
}


/* control positioning */

.winfo-control {
    position: relative;
    z-index: 800;
    pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
    pointer-events: auto;
}

.winfo-top,
.winfo-bottom {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
}

.winfo-top {
    top: 0;
}

.winfo-right {
    right: 0;
}

.winfo-bottom {
    bottom: 0;
}

.winfo-left {
    left: 0;
}

.winfo-control {
    float: left;
    clear: both;
}

.winfo-right .winfo-control {
    float: right;
}

.winfo-top .winfo-control {
    margin-top: 10px;
}

.winfo-bottom .winfo-control {
    margin-bottom: 10px;
}

.winfo-left .winfo-control {
    margin-left: 10px;
}

.winfo-right .winfo-control {
    margin-right: 10px;
}


/* zoom and fade animations */

.winfo-fade-anim .winfo-tile {
    will-change: opacity;
}

.winfo-fade-anim .winfo-popup {
    opacity: 0;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

.winfo-fade-anim .winfo-map-pane .winfo-popup {
    opacity: 1;
}

.winfo-zoom-animated {
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}

.winfo-zoom-anim .winfo-zoom-animated {
    will-change: transform;
}

.winfo-zoom-anim .winfo-zoom-animated {
    -webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
    -moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
    transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.winfo-zoom-anim .winfo-tile,
.winfo-pan-anim .winfo-tile {
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

.winfo-zoom-anim .winfo-zoom-hide {
    visibility: hidden;
}


/* cursors */

.winfo-interactive {
    cursor: pointer;
}

.winfo-grab {
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}

.winfo-crosshair,
.winfo-crosshair .winfo-interactive {
    cursor: crosshair;
}

.winfo-popup-pane,
.winfo-control {
    cursor: auto;
}

.winfo-dragging .winfo-grab,
.winfo-dragging .winfo-grab .winfo-interactive,
.winfo-dragging .winfo-marker-draggable {
    cursor: move;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

/* marker & overlays interactivity */
.winfo-marker-icon,
.winfo-marker-shadow,
.winfo-image-layer,
.winfo-pane > svg path,
.winfo-tile-container {
    pointer-events: none;
}

.winfo-marker-icon.winfo-interactive,
.winfo-image-layer.winfo-interactive,
.winfo-pane > svg path.winfo-interactive,
svg.winfo-image-layer.winfo-interactive path {
    pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
    pointer-events: auto;
}

/* visual tweaks */

.winfo-container {
    background: #ddd;
    outline: 0;
}

.winfo-container a {
    color: #0078A8;
}

.winfo-container a.winfo-active {
    outline: 2px solid orange;
}

.winfo-zoom-box {
    border: 2px dotted #38f;
    background: rgba(255, 255, 255, 0.5);
}

/*typhoon*/
.typhoonClickPopup .winfo-popup-content-wrapper,.typhoonClickPopup .winfo-popup-tip-container .winfo-popup-tip{
    background: rgb(255,190,0)
}
.winfo-container .typhoonClickPopup  a.winfo-popup-close-button{
    color: black;
    font-weight: 600;
    font-size: 20px;
}
.winfo-tooltip-title {
    background: #0078A8;
    color: #fff;
    padding: 5px;
}

.winfo-tooltip-row {
    padding: 5px;
}

.winfo-tooltip-topLine {
    border-top: 1px solid darkgrey;
}

.winfo-tooltip-label {
    color: darkgray;
    display: inline-block;
    padding-right: 10px;

}

/* general typography */
.winfo-container {
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}


/* general toolbar styles */

.winfo-bar {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    border-radius: 4px;
}

.winfo-bar a,
.winfo-bar a:hover {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    width: 26px;
    height: 26px;
    line-height: 26px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
}

.winfo-bar a,
.winfo-control-layers-toggle {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
}

.winfo-bar a:hover {
    background-color: #f4f4f4;
}

.winfo-bar a:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.winfo-bar a:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: none;
}

.winfo-bar a.winfo-disabled {
    cursor: default;
    background-color: #f4f4f4;
    color: #bbb;
}

.winfo-touch .winfo-bar a {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.winfo-touch .winfo-bar a:first-child {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.winfo-touch .winfo-bar a:last-child {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

/* zoom control */

.winfo-control-zoom-in,
.winfo-control-zoom-out {
    font: bold 18px 'Lucida Console', Monaco, monospace;
    text-indent: 1px;
}

.winfo-touch .winfo-control-zoom-in, .winfo-touch .winfo-control-zoom-out {
    font-size: 22px;
}

/* layers control */

.winfo-control-layers {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    background: #fff;
    border-radius: 5px;
}

.winfo-control-layers-toggle {
    background-image: url();
    width: 36px;
    height: 36px;
}

.winfo-retina .winfo-control-layers-toggle {
    background-image: url();
    background-size: 26px 26px;
}

.winfo-touch .winfo-control-layers-toggle {
    width: 44px;
    height: 44px;
}

.winfo-control-layers .winfo-control-layers-list,
.winfo-control-layers-expanded .winfo-control-layers-toggle {
    display: none;
}

.winfo-control-layers-expanded .winfo-control-layers-list {
    display: block;
    position: relative;
}

.winfo-control-layers-expanded {
    padding: 6px 10px 6px 6px;
    color: #333;
    background: #fff;
}

.winfo-control-layers-scrollbar {
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 5px;
}

.winfo-control-layers-selector {
    margin-top: 2px;
    position: relative;
    top: 1px;
}

.winfo-control-layers label {
    display: block;
}

.winfo-control-layers-separator {
    height: 0;
    border-top: 1px solid #ddd;
    margin: 5px -10px 5px -6px;
}

/* Default icon URLs */
.winfo-default-icon-path {
    background-image: url();
}


/* attribution and scale controls */

.winfo-container .winfo-control-attribution {
    background: #fff;
    background: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.winfo-control-attribution,
.winfo-control-scale-line {
    padding: 0 5px;
    color: #333;
}

.winfo-control-attribution a {
    text-decoration: none;
}

.winfo-control-attribution a:hover {
    text-decoration: underline;
}

.winfo-container .winfo-control-attribution,
.winfo-container .winfo-control-scale {
    font-size: 11px;
}

.winfo-left .winfo-control-scale {
    margin-left: 5px;
}

.winfo-bottom .winfo-control-scale {
    margin-bottom: 5px;
}

.winfo-control-scale-line {
    border: 2px solid #777;
    border-top: none;
    line-height: 1.1;
    padding: 2px 5px 1px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    background: #fff;
    background: rgba(255, 255, 255, 0.5);
}

.winfo-control-scale-line:not(:first-child) {
    border-top: 2px solid #777;
    border-bottom: none;
    margin-top: -2px;
}

.winfo-control-scale-line:not(:first-child):not(:last-child) {
    border-bottom: 2px solid #777;
}

.winfo-touch .winfo-control-attribution,
.winfo-touch .winfo-control-layers,
.winfo-touch .winfo-bar {
    box-shadow: none;
}

.winfo-touch .winfo-control-layers,
.winfo-touch .winfo-bar {
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-clip: padding-box;
}


/* popup */

.winfo-popup {
    position: absolute;
    text-align: center;
    margin-bottom: 20px;
}

.winfo-popup-content-wrapper {
    padding: 1px;
    text-align: left;
    border-radius: 12px;
}

.winfo-popup-content {
    margin: 13px 19px;
    line-height: 1.4;
}

.winfo-popup-content p {
    margin: 18px 0;
}

.winfo-popup-tip-container {
    width: 40px;
    height: 20px;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    overflow: hidden;
    pointer-events: none;
}

.winfo-popup-tip {
    width: 17px;
    height: 17px;
    padding: 1px;

    margin: -10px auto 0;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.winfo-popup-content-wrapper,
.winfo-popup-tip {
    background: white;
    color: #333;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.winfo-container a.winfo-popup-close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 4px 0 0;
    border: none;
    text-align: center;
    width: 18px;
    height: 14px;
    font: 16px/14px Tahoma, Verdana, sans-serif;
    color: #c3c3c3;
    text-decoration: none;
    font-weight: bold;
    background: transparent;
}

.winfo-container a.winfo-popup-close-button:hover {
    color: #999;
}

.winfo-popup-scrolled {
    overflow: auto;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.winfo-oldie .winfo-popup-content-wrapper {
    zoom: 1;
}

.winfo-oldie .winfo-popup-tip {
    width: 24px;
    margin: 0 auto;

    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.winfo-oldie .winfo-popup-tip-container {
    margin-top: -1px;
}

.winfo-oldie .winfo-control-zoom,
.winfo-oldie .winfo-control-layers,
.winfo-oldie .winfo-popup-content-wrapper,
.winfo-oldie .winfo-popup-tip {
    border: 1px solid #999;
}


/* div icon */

.winfo-div-icon {
    background: #fff;
    border: 1px solid #666;
}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.winfo-tooltip {
    position: absolute;
    padding: 6px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    color: #222;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.winfo-tooltip.winfo-clickable {
    cursor: pointer;
    pointer-events: auto;
}

.winfo-tooltip-top:before,
.winfo-tooltip-bottom:before,
.winfo-tooltip-left:before,
.winfo-tooltip-right:before {
    position: absolute;
    pointer-events: none;
    border: 6px solid transparent;
    background: transparent;
    content: "";
}

/* Directions */

.winfo-tooltip-bottom {
    margin-top: 6px;
}

.winfo-tooltip-top {
    margin-top: -6px;
}

.winfo-tooltip-bottom:before,
.winfo-tooltip-top:before {
    left: 50%;
    margin-left: -6px;
}

.winfo-tooltip-top:before {
    bottom: 0;
    margin-bottom: -12px;
    border-top-color: #fff;
}

.winfo-tooltip-bottom:before {
    top: 0;
    margin-top: -12px;
    margin-left: -6px;
    border-bottom-color: #fff;
}

.winfo-tooltip-left {
    margin-left: -6px;
}

.winfo-tooltip-right {
    margin-left: 6px;
}

.winfo-tooltip-left:before,
.winfo-tooltip-right:before {
    top: 50%;
    margin-top: -6px;
}

.winfo-tooltip-left:before {
    right: 0;
    margin-right: -12px;
    border-left-color: #fff;
}

.winfo-tooltip-right:before {
    left: 0;
    margin-left: -12px;
    border-right-color: #fff;
}

/* ================================================================== */
/* draw styles
/* ================================================================== */
.winfo-mouse-marker {
    background-color: #fff;
    cursor: crosshair;
}

.winfo-draw-tooltip {
    background: rgb(54, 54, 54);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid transparent;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
    margin-left: 20px;
    margin-top: -21px;
    padding: 4px 8px;
    position: absolute;
    visibility: hidden;
    white-space: nowrap;
    z-index: 6;
}

.winfo-draw-tooltip:before {
    border-right: 6px solid black;
    border-right-color: rgba(0, 0, 0, 0.5);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    content: "";
    position: absolute;
    top: 7px;
    left: -7px;
}

.winfo-error-draw-tooltip {
    background-color: #F2DEDE;
    border: 1px solid #E6B6BD;
    color: #B94A48;
}

.winfo-error-draw-tooltip:before {
    border-right-color: #E6B6BD;
}

.winfo-draw-tooltip-single {
    margin-top: -12px
}

.winfo-draw-tooltip-subtext {
    color: #f8d5e4;
}

.winfo-draw-guide-dash {
    font-size: 1%;
    opacity: 0.6;
    position: absolute;
    width: 5px;
    height: 5px;
}

/* ================================================================== */
/* Edit styles
/* ================================================================== */

.winfo-edit-marker-selected {
    background-color: rgba(254, 87, 161, 0.1);
    border: 4px dashed rgba(254, 87, 161, 0.6);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    box-sizing: content-box;
}

.winfo-edit-move {
    cursor: move;
}

.winfo-edit-resize {
    cursor: pointer;
}
.winfo-Measure-icon{
    border-radius: 100%;
    border:2px solid #f00
}
/*==========================velocity===================================*/

.winfo-control-velocity {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0 5px;
    margin: 0 !important;
    color: #333;
    font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.velocity-overlay {
    position: absolute;
    z-index: 1;
}

/*============*/
.winfo-control-LayerType.auto-layertype-style {
    position: absolute;
    right: -10px;
    top: -10px;
    padding: 6px;
    display: flex;
    cursor: pointer;
    transition: all 1s;
}
.winfo-control-LayerType.auto-layertype-style.active{
    background: rgba(255, 255, 255, 0.6);
}

.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item {
    position: relative;
    min-width: 64px;
    width: 64px;
    height: 53px;
    margin: 3px;
    border: 1px solid #ffffff;
}

.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item.active,
.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item:hover {
    border-color: #0068B3;
}

.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item .winfo-control-LayerType-item-image {
    width: 100%;
    height: 100%;
}

.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item .winfo-control-LayerType-item-label {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,.5);
    text-align: center;
    color: #fff;
}
.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item.active .winfo-control-LayerType-item-label,
.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item:hover .winfo-control-LayerType-item-label {
    background: rgba(0,104,179,1);
}

.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item.position {
    position: absolute;
    /*opacity: 0.2;*/
}

.relative {
    position: relative;

}

/*.winfo-control-LayerType.auto-layertype-style .winfo-control-LayerType-item.position:last-child{*/
/*	opacity: 1;*/
/*}*/


/*============================== full screen ======================*/
.winfo-control-fullscreen a {
    background:#fff url() no-repeat 0 0;
    background-size:26px 52px;
}
.winfo-touch .winfo-control-fullscreen a {
    background-position: 2px 2px;
}
.winfo-fullscreen-on .winfo-control-fullscreen a {
    background-position:0 -26px;
}
.winfo-touch.winfo-fullscreen-on .winfo-control-fullscreen a {
    background-position: 2px -24px;
}

/* Do not combine these two rules; IE will break. */
.winfo-container:-webkit-full-screen {
    width:100%!important;
    height:100%!important;
}
.winfo-container.winfo-fullscreen-on {
    width:100%!important;
    height:100%!important;
}

.winfo-pseudo-fullscreen {
    position:fixed!important;
    width:100%!important;
    height:100%!important;
    top:0!important;
    left:0!important;
    z-index:99999;
}

@media
(-webkit-min-device-pixel-ratio:2),
(min-resolution:192dpi) {
    .winfo-control-fullscreen a {
        background-image:url();
    }
}
/*=======测量工具=======*/
.polyline-measure-tooltip {
    font: 10px Arial, Helvetica, sans-serif;
    line-height: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    box-shadow: 1px 1px 4px #888;
    margin: 0;
    padding: 2px;
    width: auto !important;
    height: auto !important;
    white-space: nowrap;
    text-align: right;
}

.polyline-measure-tooltip-end {
    background-color:rgba(255, 255, 255, 0.9);
}

.polyline-measure-tooltip-total {
    color: #006;
    font-weight: bold;
}

.polyline-measure-tooltip-difference {
    color: #060;
    font-style: italic;
}

.tooltip-popup.measure{
}
.tooltip-popup.measure .winfo-popup-content-wrapper{
    background: transparent;
    box-shadow: 0px 0px transparent;
    border-radius: 3px;

}
.tooltip-popup.measure .winfo-popup-content{
    padding: 0;
    margin: 0px;

}
.tooltip-popup.measure .content{
    background: rgba(255,255,255,0.9);
    padding: 8px;

}
.tooltip-popup.measure .winfo-popup-close-button{
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: red;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    margin-right: 2px;
    position: absolute;
    left: -30px;
    top: 0;
    display: inline-block;
    padding: 6px 3px;
}
.tooltip-popup.measure .winfo-popup-close-button:hover{
    color: #fff;
}


